package com.codes.service;

import com.codes.model.User;

import java.util.List;
import java.util.Map;

public interface UserSV {
    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    //
    //selectByAccount
    Map selectByAccount(User user);

    // getAllUser
    List<Map<String,Object>> getAllUser(Map<String,Object> map);
    //insertByMap
    Map insertByMap(Map<String,Object> map);

    //updateByMap
    int updateByMap(Map<String,Object> map);

    Map getUserInfo(Map m );

}
